import React from 'react'
import {useLocation,useNavigate} from "react-router-dom"
import { Cell, Image } from 'react-vant';
function My() {
  const navigate=useNavigate()
  const token=window.localStorage.getItem("token")
  console.log();
  
  return (
    <div>
      {Array.from({ length: 1 }).map((_, idx) => (
        <Cell
          center
          key={idx}
          title="小猫不吃鱼"
          label="Deserunt dolor ea eaque eos"
          icon={
            <Image
              width={44}
              height={44}
              src="/demo_1.jpg"
              round
            />
          }
          isLink
        />
      ))}

      <p onClick={()=>navigate("/address")}>收货地址</p>
    </div>
  )
}

export default My